package com.hui.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * (Goods)实体类
 *
 * @author makejava
 * @since 2021-09-17 08:01:19
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Table(name = "goods")
public class Goods implements Serializable {
    private static final long serialVersionUID = 735793082028717571L;

    @Id
    private Integer id;

    private String goodsName;

    private String category;

    private Float price;

    private Integer count;

    // 状态，0 下架，1 上架
    private String status;
}

